/*
 * @Author: JoeLiao
 * @Date: 2024-11-02 21:49:46
 * @LastEditors: JoeLiao 1094153928@qq.com
 * @LastEditTime: 2024-11-02 21:49:58
 * @FilePath: \vue3_admin_master\scripts\preinstall.js
 * @Description:
 *
 * Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
 */
if (!/npm/.test(process.env.npm_execpath || '')) {
  console.warn(
    `\u001b[33mThis repository must using npm as the package manager ` +
      ` for scripts to work properly.\u001b[39m\n`,
  )
  process.exit(1)
}
